<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/10/17
 * Time: 19:19
 */

namespace app\api\model;


use think\Model;

class Channel extends Model
{
    /**
     * @param $channel_id
     * @throws \think\Exception
     * 注册人数加一
     */
    public function add_total_user_count($channel_id){
        $this->where(array('id'=>$channel_id))->setInc('total_user_count',1);
    }

}